﻿using FeiShu.IService.Common;
using FeiShu.IService.User;
using FeiShu.Service.Common;
using FeiShu.Service.User;
using Microsoft.Extensions.DependencyInjection;

namespace FeiShu.Service
{
    public static class FeiShuServiceExtension
    {
        public static IServiceCollection AddAllServices(this IServiceCollection services)
        {
            //注册服务
            services.AddScoped<ICommonService, CommonService>();
            services.AddScoped<IUserService, UserService>();
            return services;
        }
    }
}
